import request from '@/utils/request'

// 查询发票查询列表
export function listInvoiceInquiry(query) {
  return request({
    url: '/financial/invoiceInquiry/list',
    method: 'get',
    params: query
  })
}

// 查询发票查询详细
export function getInvoiceInquiry(id) {
  return request({
    url: '/financial/invoiceInquiry/' + id,
    method: 'get'
  })
}

// 新增发票查询
export function addInvoiceInquiry(data) {
  return request({
    url: '/financial/invoiceInquiry',
    method: 'post',
    data: data
  })
}

// 修改发票查询
export function updateInvoiceInquiry(data) {
  return request({
    url: '/financial/invoiceInquiry',
    method: 'put',
    data: data
  })
}

// 删除发票查询
export function delInvoiceInquiry(id) {
  return request({
    url: '/financial/invoiceInquiry/' + id,
    method: 'delete'
  })
}
